package com.goxplanet;

import lombok.Data;

@Data
public class StockRisk {
    public String ticker;
    public Double marketPrice;
    public Long timestamp;
    public Long volume;

    public Double cost;
    public Double pnl;

    public StockRisk(String ticker,long timestamp) {
        this.ticker = ticker;
        this.timestamp = timestamp;
        this.marketPrice = 0.0;
        this.pnl = 0.0;
        this.cost = 0.0;
        this.volume = 0L;
    }
}
